import request from '@/plugin/axios'
import util from '@/libs/util.js'

export default {

	list (data) {
		return request({
			url: 'mchter/list',
			headers: {},
			method: 'post',
			data,
		});
	},

	add (data) {
		return request({
			url: 'mchter/add',
			headers: {},
			method: 'post',
			data,
		});
	},

	set (data) {
		return request({
			url: 'mchter/set',
			headers: {},
			method: 'post',
			data,
		});
	},

	info (data) {
		return request({
			url: 'mchter/info',
			headers: {},
			method: 'post',
			data,
		});
	},

	del (data) {
		return request({
			url: 'mchter/del',
			headers: {},
			method: 'post',
			data,
		});
	},

	option (data) {
		return request({
			url: 'mchter/option',
			headers: {},
			method: 'post',
			data,
		});
	},

	channelUsed (data) {
		return request({
			url: 'mchter/channelused',
			headers: {},
			method: 'post',
			data,
		});
	},

	channelStatus (data) {
		return request({
			url: 'mchter/channelstatus',
			headers: {},
			method: 'post',
			data,
		});
	},

	channelLimit (data) {
		return request({
			url: 'mchter/channellimit',
			headers: {},
			method: 'post',
			data,
		});
	},

	setChannelLimit (data) {
		return request({
			url: 'mchter/setchannellimit',
			headers: {},
			method: 'post',
			data,
		});
	},
};